package cars

import (
	"time"
)

type CarsWhiteListStruct struct {
	Id        int       `json:"id" gorm:"type:int(11) auto_increment; NOT NULL; primary_key"`
	Name      string    `json:"name" gorm:"type:varchar(255)"`
	CarNumber string    `json:"car_number" gorm:"type:varchar(255)"`
	CreatedAt time.Time `json:"created_at" gorm:"type:datetime"`
	UpdatedAt time.Time `json:"updated_at" gorm:"type:datetime"`
}

func (c *CarsWhiteListStruct) TableName() string {
	return "cars_white_list"
}
